package org.example.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpDepot;
import org.example.domain.po.ErpMaterialAttribute;
import org.example.domain.po.ErpUnit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 3400
* @description 针对表【erp_unit(多单位表)】的数据库操作Mapper
* @createDate 2024-10-30 09:40:17
* @Entity org.example.domain.po.ErpUnit
*/
public interface ErpUnitMapper extends BaseMapper<ErpUnit> {
    Page<ErpUnit> findByPage(Page<ErpUnit> page,
                                          @Param("name") String name,
                             @Param("tenantId") Long tenantId);
    List<ErpUnit> selectByExample(@Param("tenantId") Long tenantId);
    List<ErpUnit> select(@Param("id") Integer id,@Param("tenantId") Long tenantId);
}




